/*    */ package com.equipmentmanage.service.impl;
/*    */ 
/*    */ import com.equipmentmanage.dao.UserDao;
import com.equipmentmanage.model.PageBean;
import com.equipmentmanage.model.User;
import com.equipmentmanage.service.UserService;

/*    */ import java.util.List;
/*    */ import javax.annotation.Resource;
import org.springframework.stereotype.Service;
/*    */ 
/*    */ @Service("userService")
/*    */ public class UserServiceImpl
/*    */   implements UserService
/*    */ {
/*    */ 
/*    */   @Resource
/*    */   private UserDao userDao;
/*    */ 
/*    */   public User login(User user)
/*    */   {
/* 26 */     return this.userDao.login(user);
/*    */   }
/*    */ 
/*    */   public void add(User user) {
/* 30 */     this.userDao.add(user);
/*    */   }
/*    */ 
/*    */   public void update(User user) {
/* 34 */     this.userDao.update(user);
/*    */   }
/*    */ 
/*    */   public void delete(int id) {
/* 38 */     this.userDao.delete(id);
/*    */   }
/*    */ 
/*    */   public List<User> find(PageBean pageBean, User s_user) {
/* 42 */     return this.userDao.find(pageBean, s_user);
/*    */   }
/*    */ 
/*    */   public int count(User s_user) {
/* 46 */     return this.userDao.count(s_user);
/*    */   }
/*    */ 
/*    */   public User loadById(int id) {
/* 50 */     return this.userDao.loadById(id);
/*    */   }
/*    */ 
/*    */   public boolean existUserByDeptId(int deptId) {
/* 54 */     return this.userDao.existUserByDeptId(deptId);
/*    */   }
/*    */ }

/* Location:           C:\Users\arcgis\Desktop\新建文件夹\a0\[www.java1234.com]《SpringMvc设备管理系统》第零讲源码及文档\EquipmentSys\WEB-INF\classes\
 * Qualified Name:     com.java1234.service.impl.UserServiceImpl
 * JD-Core Version:    0.6.1
 */